package com.css.fxfzfxqh.modules.seismicHazardData.service;

import com.css.fxfzfxqh.base.response.RestResponse;
import com.css.fxfzfxqh.modules.seismicHazardData.entity.PsHazardDataEntity;
import com.css.fxfzfxqh.modules.seismicHazardData.param.psHazard.PageParam;
import com.css.fxfzfxqh.modules.seismicHazardData.param.psHazard.RecordPageParam;
import com.css.fxfzfxqh.modules.seismicHazardData.param.psHazard.RegionParam;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

public interface PsHazardService {
    RestResponse importExcel(MultipartFile file, Integer type, String ids,String year,String excelFileId);

    void exportExcel(Integer sheetType, Integer region, List<RegionParam> regionList, String rangeValue, HttpServletResponse response);

    RestResponse getByKilometerGridId(String kilometerGridId, Integer type);

    RestResponse getByRegionId() throws Exception;

    Map<String, Object> page(PageParam param);

    Map<String, Object> uploadRecords(RecordPageParam param);

    void export(String ids, HttpServletResponse response);
}
